import 'dart:io';

import 'package:flutter/material.dart';

/*
* @Package: config
* @ClassName: string_config
* @Author: szj
* @CreateDate: 7/28/21 2:43 PM
*/
class StringConfig {
  /*
   *  SQLite 数据库名字
   */
  static const String SQ_LITE_NAME = "open_eye_sq_lite.db";

  /*
   * SqLite 数据库表的名字
   */
  static const String SQ_LITE_TABLE_NAME = "sq_lite_bean";

  static const String HOME = "首页";
  static const String FIND = "发现";
  static const String HOT = "热门";
  static const String MY = "我的";
  static const String HTTP_ERROR = "请求网络失败了!";
  static const String RELOAD = "点我重新加载!";
  static const String RELOADING = "重新加载中～～～";
  static const String NO_FUNCTION = "暂无功能";
  static const String FOLLOW = "关注";
  static const String OTHER = '其他';
  static const String MY_ATTENTION = '我的关注';
  static const String ALREADY_SUCCESS_FOLLOW = '已经关注了哦';
  static const String FOLLOW_SUCCESS = '关注成功!';
  static const String FOLLOW_SUCCESS_CONTENT = '我的关注其他内容!';
  static const String ANDROID_SUPER_SOLDIER = 'Android超级兵';
  static const String SETTING = '设置';
  static const String COLOR_THEME = '颜色主题';
  static const String NIGHT_MODE = '夜间模式';
  static const String TURNED_ON = '已开启';
  static const String NOT_OPEN = '未开启';
  static const String POPULARITY_LIST = '人气榜';
  static const String MORE = '更多';
  static const String LESS = '收起';
  static const String COMMENT = '评论';
  static const String INFORMATION_DETAILS = '资讯详情';
  static const String MY_FOLLOW = "我的关注";
  static const String PHOTO_GRAPH = "拍照";
  static const String SELECT_FROM_ALBUM = "从相册中选择";
  static const String NATIVE_ANDROID = "混合开发";

  static const List<String> FIND_TAB_TITLE = ["关注", "分类", "专题", "资讯", "推荐"];

  static const String HOME_TEXT_HEADER = 'textHeader';
  static const String VIDEO_SMALL_CARD = 'videoSmallCard';
  static const String TEXT_CARD = 'textCard';
  static const String VIDEO = 'video';
  static const String UGC_PICTURE = 'ugcPicture';
  static const String INFO_RMATION_CARD = 'informationCard';
  static const String HORIZONTAL_SCROLL_CARD = 'horizontalScrollCard';

  static const String ANDROID = 'Android';
  static const String IOS = 'IOS';

  /*
   * 判断当前设备是Android还是IOS
   */
  static String isEquipment = Platform.isAndroid ? ANDROID : IOS;

  /*
   *    TODO SP 常量
   */
  //sp 保存是否是夜间模式 [false白天 true夜间]
  static const String SP_IS_NIGHT_MODE = "sp_is_night_mode";

  //sp 保存颜色主题 [String类型 ColorConfig.themeColorMap[String] ]
  static const String SP_IS_COLOR_THEME = "sp_is_color_theme";

  //sp 保存我的-选取头像
  static const String SP_FILE_IMAGE = "sp_file_image";

  /*
   *   TODO flutter于native通信
   */
  //通道名称
  static const String METHOD_CHANNEL_NAME = "method_channel";
}
